#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Termstructures;
using Cephei.QL.Times;
using Cephei.QL;
namespace Cephei.QL.Indexes
{
    /// <summary> 
	/// ! base class for Inter-Bank-Offered-Rate indexes (e.g. %Libor, etc.)
	/// </summary>
    [Guid ("D0E092B7-6278-4bd9-8179-BAE72B922A38"),ComVisible(true)]
	public interface IIborIndex : Cephei.QL.Indexes.IInterestRateIndex
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 QL.Times.BusinessDayConventionEnum BusinessDayConvention {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Indexes.IIborIndex Clone(Cephei.QL.Termstructures.IYieldTermStructure forwarding);
        /// <summary> 
		/// 
		/// </summary>
		 Boolean EndOfMonth {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double ForecastFixing(DateTime fixingDate);
        /// <summary> 
		/// 
		/// </summary>
		 DateTime MaturityDate(DateTime valueDate);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Termstructures.IYieldTermStructure ForwardingTermStructure {get;}
    }   

    /// <summary> 
	/// ! base class for Inter-Bank-Offered-Rate indexes (e.g. %Libor, etc.) Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IIborIndex_Factory : INativeCollection_Factory<IIborIndex>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IIborIndex, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIIborIndex&gt</returns>
        IVector<IIborIndex> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IIborIndex, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIIborIndex&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IIborIndex>>> CreateCellVector();
        IVector<IIborIndex> CreateVector (IEnumerable<IIborIndex> source);
        ICoCell<IVector<ICoCell<IIborIndex>>> CreateCellVector (IEnumerable<ICoCell<IIborIndex>> source);
        /// <summary> 
		/// 
		/// </summary>
	    IIborIndex Create (String familyName, Cephei.QL.Times.IPeriod tenor, UInt32 settlementDays, Cephei.QL.ICurrency currency, Cephei.QL.Times.ICalendar fixingCalendar, QL.Times.BusinessDayConventionEnum convention, Boolean endOfMonth, Cephei.QL.Times.IDayCounter dayCounter, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Termstructures.IYieldTermStructure> h);
    }
}

